SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}Reichshof{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}' OR prCity = 'Reichshof' OR prZip = 'Reichshof' OR prStreet LIKE '{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}Reichshof{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}' OR prCountry = 'Reichshof') AND (prLocation LIKE '{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}Germany{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}Germany{1e7c818e3a0b1a5434760a2c54c91f6349a5fb16c1ffa82e9c704ec5a6fe2377}' OR prCountry = 'Germany')